from selenium import webdriver
from selenium.webdriver.common.by import By
from time import sleep
from options import options

driver = webdriver.Chrome(options=options)
driver.get(r'https://www.baidu.com/')
driver.maximize_window()
sleep(3)
driver.get_screenshot_as_file(r'page1.png')
driver.save_screenshot(r'page2.png')